/************************************************************************
 ** This file is part of the network simulator Shawn.                  **
 ** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project  **
 ** Shawn is free software; you can redistribute it and/or modify it   **
 ** under the terms of the BSD License. Refer to the shawn-licence.txt **
 ** file in the root of the Shawn source tree for further details.     **
 ************************************************************************/

#include "shawnbgu_init.h"
#ifdef ENABLE_SHAWNBGU

#include "legacyapps/shawnbgu/shawnbgu_processor_factory.h"

#include "_apps_enable_cmake.h"
#ifdef ENABLE_VIS
#include "legacyapps/shawnbgu/shawnbgu_vis_property_tag_shape_leader_int.cpp"
#include "legacyapps/shawnbgu/shawnbgu_vis_property_tag_color_leader_vec.cpp"
#include "sys/simulation/simulation_controller.h"
#include "sys/simulation/simulation_task_keeper.h"
#endif

extern "C" void init_shawnbgu( shawn::SimulationController& sc )
{
   shawnbgu::ShawnbguProcessorFactory::register_factory( sc );


#ifdef ENABLE_VIS
   sc.simulation_task_keeper_w().add( new shawnbgu::PropertyTagColorLeaderVecTask );
   sc.simulation_task_keeper_w().add( new shawnbgu::PropertyTagShapeLeaderIntTask );
#endif
}
#endif

